package com.xuecheng.ucenter.feignclient;

import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value = "CheckCode" ,fallbackFactory =CheckCodeClientFactory.class )
public interface CheckCodeClient {


    @PostMapping(value = "/verify")
    public Boolean verify(String key, String code);
}
